package com.kindel.model.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by demongao on 2017/9/4.
 */
@Component
@ConfigurationProperties(prefix="Config")
public class ConfigModel {
    private Integer port;
    private Integer redirectPort;

    public Integer getRedirectPort() {
        return redirectPort;
    }

    public void setRedirectPort(Integer redirectPort) {
        this.redirectPort = redirectPort;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
